package com.example.databasehomework;

public class MainListItemBean {
    public static final int EXPR = 1, COURSE = 2;

    public String sNumber;
    public String name;
    public int category;       //实验 = 1，课程 = 2

    public String seminar; // 学期，仅在作为课程时使用

    public MainListItemBean(String sNumber, String name, int category) {
        this.sNumber = sNumber;
        this.name = name;
        this.category = category;
        this.seminar = null;
    }

    public void setSeminar(String seminar) {
        this.seminar = seminar;
    }
}
